﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 创建者模式.factory
{
    public class PearFactory: IFruitFactory
    {
        public Fruit CreateFruit()
        {
            return new PearFruit("pear", "dsl", 22, "ds");
        }
    }
}
